<template>
  <div>
    <el-container>
      <el-header>
        <ShopcarHeader>
          <span slot="header">购物车</span>
          <i class="el-icon-more" slot="icon"></i>
        </ShopcarHeader>
      </el-header>
      <el-main></el-main>
      <el-footer>
        <FooterBox></FooterBox>
      </el-footer>
    </el-container>
  </div>
</template>
  
  <script>
import FooterBox from "../components/FooterBox";
import ShopcarHeader from "../components/ShopcarHeader";
export default {
  name: "ShopCar",
  components: {
    FooterBox,
    ShopcarHeader
  }
};
</script>
  
  <style scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  width: 100%;
  height: 100%;
}
a {
  color: black;
  text-decoration: none;
}
li {
  list-style: none;
}
.el-container{
  display: flex;
  height: 177.867vw !important;
}
.el-header {
  width: 100vw;
  height: 11.7333vw !important;
  background-color: #fff;
}
.el-main{
  flex-grow: 1;
  background-color: #f6f6f6;
}
.el-footer{
  width: 100%;
  height: 13.3333vw !important;
}
span{
    font-size: 4.8vw;
  }
</style>